package org.qiyu.live.id.generate.privoder.service.bo;

import java.util.concurrent.ConcurrentLinkedDeque;
import java.util.concurrent.ConcurrentLinkedQueue;


public class LocalUnSeqIdBO {

    private ConcurrentLinkedQueue<Long> idqueue;
    private int id;
    private Long currentStart;
    private Long nextThreshold;

    @Override
    public String toString() {
        return "LocalUnSeqIdBO{" +
                "idqueue=" + idqueue +
                ", id=" + id +
                ", currentStart=" + currentStart +
                ", nextThreshold=" + nextThreshold +
                '}';
    }

    public ConcurrentLinkedQueue<Long> getIdqueue() {
        return idqueue;
    }

    public void setIdqueue(ConcurrentLinkedQueue<Long> idqueue) {
        this.idqueue = idqueue;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Long getCurrentStart() {
        return currentStart;
    }

    public void setCurrentStart(Long currentStart) {
        this.currentStart = currentStart;
    }

    public Long getNextThreshold() {
        return nextThreshold;
    }

    public void setNextThreshold(Long nextThreshold) {
        this.nextThreshold = nextThreshold;
    }
}
